package render

import (
	"github.com/gin-contrib/multitemplate"
)

func CreateMyRender() multitemplate.Renderer {
	r := multitemplate.NewRenderer()
	r.AddFromFiles("test", "templates/base.html", "templates/nav.html", "templates/public/test.html")
	r.AddFromFiles("home", "templates/base.html", "templates/nav.html", "templates/public/home.html")
	r.AddFromFiles("createuser", "templates/base.html", "templates/nav.html", "templates/login/createuser.html")
	r.AddFromFiles("login", "templates/login/login.html")
	r.AddFromFiles("logout", "templates/login/logout.html")
	return r
}
